package com.xiaobawang.knowledge.spider.config;

import lombok.Data;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author synhard
 * @description TODO
 * @date 2025/6/18 16:12
 * @email songxinhang2023@e-chinalife.com
 * @id 18101119
 * @phone 13001321080
 */
@Component
@Data
@ConfigurationProperties(prefix = "forest")
public class ForestConfig {
    // 中国人寿官网域名
    @Value("${forest.variables.baseUrl.chinalife.api}")
    private String chinalifeApi;

    // 金融监管总局官网域名
    @Value("${forest.variables.baseUrl.government.api}")
    private String governmentApi;

    // 人民银行官网域名
    @Value("${forest.variables.baseUrl.peopleBank.api}")
    private String peopleBankApi;
}
